import logging
def log_set():
    logging.basicConfig(filename="log.txt",filemode="a+",level=logging.DEBUG,format="%(funcName)s--%(asctime)s--%(message)s")